package com.itheima.day05;

public class PublicHelloWorld {
    public static void main(String[] args) {
        HelloWorld();

    }

    public static void HelloWorld() {
        System.out.println("HelloWorld开始了");
        eat();
        System.out.println("你好");
        study();
        System.out.println("HelloWorld结束了");
    }

    public static void eat() {
        System.out.println("eat开始了");
        System.out.println("吃饭");
        System.out.println("eat结束了");
    }

    public static void study() {
        System.out.println("study开始了");
        System.out.println("学习");
        System.out.println("study结束了");
    }
}
